//
//  DetailHvkViewController.h
//  ChatDemo-UI2.0
//
//  Created by zz on 16/5/25.
//  Copyright © 2016年 zz. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "homework.h"
#import "AssignHomeWorkViewController.h"
@protocol FinishHomeWorkDelegate <NSObject>

-(void)updateModel:(homework *)model andIndex:(NSInteger)index;

@end

@interface DetailHvkViewController : SYBaseViewController
{
    NSDictionary *finshDIc;
    NSDictionary *readDic;
}
/**
 *  模型
 */
@property(nonatomic,strong) homework *model;

@property (nonatomic,strong) NSString *infoID;
@property (nonatomic,assign) NSInteger msgID;
/**
 *  序列
 */
@property(nonatomic,assign) NSInteger index;

@property (nonatomic,strong) NSString *fromVC;

@property(nonatomic,assign) id<FinishHomeWorkDelegate> delegate;
@property(nonatomic,assign)id<yunDouAlertDelegate>isfinshdelegate;

@property(nonatomic,assign) NSInteger read_state;
@end
